/**
 * Copyright (C), 2019-2020, 宇信融汇
 * FileName: FinalDemo
 * Author:   xbliu
 * Date:     2020/6/22 17:37
 * Description: Final在重写中的规则
 * History:
 * <author>          <time>          <version>          <desc>
 * xbliu           修改时间           版本号              描述
 */
package c_004.abstractDemo;

/**
 * @Classname FinalDemo
 * @Description TODO
 * @Date 2020/6/22 17:37
 * @Created by xbliu
 */
public /* final*/ class FinalDemo {
    private static final int age = 10;

    public final void test() {
        System.out.println("final修饰的方法不能重写");
    }

    public static void main(String[] args) {
        // age = 20;
    }
}
